package nc.itf.slyy.pub;

import nc.bs.framework.server._ServerForEJBNCLocator;
import nc.bs.pub.BusinessObject;

/**
 * business service ejb wrapper 
 * Created by EJBGenerator
 * based on velocity technology
 */

public class  SLYYEJBEjbBean extends BusinessObject{
	private Object thisService;
	
	public void ejbActivate(){}
	public void ejbPassivate(){}
	public void ejbRemove(){}
	
	public SLYYEJBEjbBean() {
		thisService=(Object)_ServerForEJBNCLocator.lookup("nc.itf.slyy.pub.SLYYEJB");
	}
	public void ejbCreate(){
		if(thisService == null)
			thisService=(Object)_ServerForEJBNCLocator.lookup("nc.itf.slyy.pub.SLYYEJB");
	}
	
	public  Object getService() {
		if(thisService == null)
			thisService=(Object)_ServerForEJBNCLocator.lookup("nc.itf.slyy.pub.SLYYEJB");			
		return thisService;
	}
	public void updateAssectCheck(java.util.ArrayList  arg0) throws Exception{
		
		((nc.itf.slyy.pub.ISlyyWriteXMLItf )getService()).updateAssectCheck(arg0);
		
	}
}
	